#include <iostream>
#include <math.h>

using namespace std;

int main()
{
    float a,b,c;
    cout << "Vvedi A - xcxcxc";
    cin >> a;
    cout<< "Vvedi B - ";
    cin >> b;
    cout << "Vvedi C - ";
    cin >> c;

        cout <<"Ortezok AC = "<< abs(c - a) <<" \n";
        cout <<"Otrezok BC= "<< abs(b - c) <<" \n";
        cout <<"Summa AC+BC = "<< abs(c - a) + abs( b - c);

   return 0;
}
